package model.vo

import model.exceptions.ErrorCode.ErrorCode
import play.api.libs.json.{Json, OWrites}

case class StandardFailureResponse(errorCode: ErrorCode, errorMsg: String)

object StandardFailureResponse {
  implicit def writes: OWrites[StandardFailureResponse] =
    Json.writes[StandardFailureResponse]
}
